package cn.javass.struts2impl.preResultListener;

import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.PreResultListener;

public class MyPreResult implements PreResultListener {

    @Override
    public void beforeResult(ActionInvocation invocation, String result) {
        System.out.println("现在处理Result执行前的功能，result=" + result);
        invocation.getInvocationContext().getValueStack().set("account", "preResult改的");

    }

}
